package com.wanxi.order.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("子订单实体类")
public class SubOrderEntity {
    @ApiModelProperty(value = "子订单id",example = "333")
    private Integer subOrdersId;
    @ApiModelProperty(value = "父订单id",example = "22")
    private Integer orderId;
    @ApiModelProperty(value = "优惠卷id",example = "12")
    private Integer couponId;
    @ApiModelProperty(value = "交易金额",example = "100.00")
    private Double TransactionAmount;
    @ApiModelProperty(value = "用户备注",example = "我要买肉")
    private String userMessage;
    @ApiModelProperty(value = "收货电话",example = "2")
    private String receivingPhone;
    @ApiModelProperty(value = "交易方式",example = "1")
    private Integer tradingMethodsId;
    @ApiModelProperty(value = "支付id",example = "32")
    private Integer paymentId;
    @ApiModelProperty(value = "收货地址",example = "2")
    private Integer shippingAddressId;
    @ApiModelProperty(value = "订单状态",example = "0")
    private Integer orderState;
    @ApiModelProperty(value = "订单id",example = "33")
    private Integer storeId;
    private String subOrdersCreateTime;
    private String subOrdersUpdateTime;
    private String subOrdersCreateUser;
    private String subOrdersUpdateUser;
    private Integer state;
}
